<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			#sp01{
				color: red;
			}
		</style>
	</head>
	<body>
		<div id="root">
			
		</div>
		<script src="node_modules/react/umd/react.development.js"></script>
		<script src="node_modules/react-dom/umd/react-dom.development.js"></script>
		<script>
			const sp = React.createElement("span",{
				id:"sp01"
			},"这里是蓝色的文字");
			const title = React.createElement("h1",{
				title:"标题内容",
				id:"hhh1"
			},"hello word!",sp);
			ReactDOM.render(title,document.getElementById("root"));
		</script>
	</body>
</html>